package com.dmwork.service.interaction.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.dmwork.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 网页图片内容表
 * </p>
 *
 * @author 李天
 * @since 2021-06-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_cms_background")
@ApiModel(value="CmsBackground对象", description="网页图片内容表")
public class CmsBackground extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.NONE)
    private String id;

    @ApiModelProperty(value = "背景图片展示区域")
    private String location;

    @ApiModelProperty(value = "背景图片url")
    private String url;

}
